cpuidle: mwait on softirq_pending & remove wakeup ipis
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 6 Apr 2010 05:52:11 +0000 (06:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 6 Apr 2010 05:52:11 +0000 (06:52 +0100)
commit3d521e933e1b3f3f62c12542e2fea98e77169838
tree8b85c23ac413090684ba0639239fb039dc3a0ef6
parent4e8bf171383cdd9f8e92b137c3d8b9965d8d9f9d
cpuidle: mwait on softirq_pending & remove wakeup ipis

For cpu which enter deep C state via monitor/mwait, wakeup can be done
by writing to the monitored memory. So once monitor softirq_pending,
we can remove the redundant ipis.

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/hpet.c
xen/include/xen/cpuidle.h